loans-api icon

loans-api

(0 reviews)

Create Collateral Right

Description: This endpoint is used to create collateral-right based on the below json request.

Mulesoft Request:

Headers:

Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization

Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id

Paramaters:

URI Params: Na

Query Params: NA

Content-type: application/json

Mulesoft Request

To use the service to create collateral right , the value in the arrangement field should be "NEW"

{
  "customerId": "1000067570",
  "collateralCode": "14",
  "reviewFrequency": "M1201",
  "expiryDate": "20250125",
  "notes": "LOAN"
}

Mulesoft Response In Case Of Create:

Success Response: (200)

  {
    "status": {
        "success": "true",
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
    },
    "response": {
        "collateral": {
            "id": "1000067570.141",
            "validitDate": "20230418",
            "reviewFrequency": "20240401M1201",
            "expiryDate": "20250125",
            "status": "CUR",
            "limit": [
                "LI2303700852",
                "LI2303700853",
                "LI2303700854"
            ]
        }
    }
}

Reviews